import axios from '@/libs/api.request'
// 发表话题
export function publishTopic (data) {
    return axios.request({
        url: '/topicManage/publish',
        data: data,
        method: 'post'
    })
}
// 回复话题
export function replyTopic (data) {
    return axios.request({
        url: '/topicManage/reply',
        data: data,
        method: 'post'
    })
}
// 查看全部回复
export function seeReply (data) {
    return axios.request({
        url: '/topicManage/replyList',
        data: data,
        method: 'post'
    })
}
// 话题列表
export function topicList (data) {
    return axios.request({
        url: '/topicManage/topicList',
        data: data,
        method: 'post'
    })
}
